﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Services;
using KF.DHLModel;

namespace KF.Servers
{
    /// <summary>
    /// Service1 的摘要说明
    /// </summary>
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [System.ComponentModel.ToolboxItem(false)]
    public class DHLPricing : ServiceBase
    {

        [WebMethod]
        public double CalcPrice(int zone, double weight, ItemType itemType, CustomerType customerType)
        {
            return (new KF.DHLBL.Prcing()).CalcPrice(ServiceBase.priceInfos, zone, weight, itemType, customerType);
        }
    }
}